Skip to content

feat(auth): renew the PolyPlus token without a new Mojang login - #555

Merged
Deftu merged 1 commit into
mainfrom
feat/token-refresh
Dec 3, 2026
Merged

Deftu merged 1 commit into
mainfrom
feat/token-refresh

Conversation

@Deftu

@Deftu Deftu commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Renews the PolyPlus token through /account/refresh while it's still valid, so an expiring token no longer needs another Mojang session join. Any 4xx falls back to a normal login.
On launch, the token OneLauncher passes in POLYPLUS_TOKEN and POLYPLUS_TOKEN_PROFILE is used once for that account.
When the backend answers 503, logins pause for its Retry-After time (60s default, 5 min max).
Needs plus-backend #79.

@Wyvest Wyvest added this to Mods Dec 3, 2026
@Deftu
Deftu merged commit 4cd2494 into main Dec 3, 2026
12 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Poly+ Dec 3, 2026
@github-project-automation github-project-automation Bot moved this to Done in Mods Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant